NevronOpenVision
Nevron.Nov.Graphics Namespace / NGeometry2D Class / Rotate Method / Rotate(NPoint[],Int32,Int32,Double,NPoint) Method
An array of points.
The index of the first point to rotate.
The number of points to rotate.
Rotation angle (in Radians).
Rotation pin point.
Rotate(NPoint[],Int32,Int32,Double,NPoint) Method
Rotates a range of points from the specified array around the specified pin point.
Syntax
public static void Rotate( 
   NPoint[] points,
   System.int start,
   System.int count,
   System.double angle,
   NPoint pin
)

Parameters

points
An array of points.
start
The index of the first point to rotate.
count
The number of points to rotate.
angle
Rotation angle (in Radians).
pin
Rotation pin point.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

See Also